package cn.com.dcsgo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单项信息
 *
 * @author Dcsgo
 * @since 2025/11/16 15:09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "订单项信息")
public class OrderItemVO {
    /**
     * 订单项ID
     */
    @Schema(description = "订单项ID")
    private Long orderItemId;
    /**
     * 店铺ID
     */
    @Schema(description = "店铺ID")
    private Long shopId;
    /**
     * 订单编号
     */
    @Schema(description = "订单编号")
    private String orderNumber;
    /**
     * 产品ID
     */
    @Schema(description = "产品ID")
    private Long prodId;
    /**
     * 产品SkuID
     */
    @Schema(description = "产品SkuID")
    private Long skuId;
    /**
     * 商品个数
     */
    @Schema(description = "商品个数")
    private Integer prodCount;
    /**
     * 产品名称
     */
    @Schema(description = "产品名称")
    private String prodName;
    /**
     * sku名称
     */
    @Schema(description = "sku名称")
    private String skuName;
    /**
     * 商品主图片
     */
    @Schema(description = "商品主图片")
    private String pic;
    /**
     * 商品价格
     */
    @Schema(description = "商品价格")
    private BigDecimal price;
    /**
     * 商品总金额
     */
    @Schema(description = "商品总金额")
    private BigDecimal productTotalAmount;
    /**
     * 购物时间
     */
    @Schema(description = "购物时间")
    private Date createTime;
    /**
     * 评论状态： 0 未评价 1 已评价
     */
    @Schema(description = "评论状态： 0 未评价 1 已评价")
    private Integer commSts;
}

